package com.example.stmp.Service.TeachClass;

import com.example.stmp.Entity.TeachClass;
import com.example.stmp.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TeachClassService {


    /*
     * 新增教学班级
     * */
    void save(TeachClass teachClass);

    /*
     *批量删除教学班
     * */
    void delete(List<Long> ids);

    /*
     * 修改教学班级信息
     * */
    void update(TeachClass teachClass);

    /*
     * 根据tcId查询教学班信息
     * */
    TeachClass selectTeachClassInfoById(Long id);

    /*
     * 教学班级的分页查询
     * */
    PageResult queryPage(Integer pageNum, Integer pageSize);
}
